package com.selune.online.ordering.system.project.api.base.constant.enums;

/**
 * Created with IntelliJ IDEA.
 *
 * @author xiaoyp
 * @date 2020/3/24
 * <p>
 * Description:
 */
public enum PayStatusEnum {
	
	/**
	 * 0 - 待支付
	 * 1 - 已支付
	 * 2 - 已退款
	 */
	UNPAID(0, "待支付"),
	PAID(1, "已支付"),
	REFUNDED(2, "已退款");
	
	private Integer code;
	private String msg;
	
	PayStatusEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public Integer code() {
		return this.code;
	}
	
	public String msg() {
		return this.msg;
	}
}
